import Vue from 'vue'

// 用户模块

// 1.登录页
import {Button,NavBar,Field,Form,Toast} from 'vant'
Vue.use(Button)
Vue.use(NavBar)
Vue.use(Field)
Vue.use(Form)
// Vue.use(Toast)
Vue.use(Toast)


// 用户页面模块
import {Tabbar, TabbarItem,Image as VanImage,Tag,Cell, CellGroup,Col, Row ,Icon,Dialog  } from 'vant'
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(VanImage)
Vue.use(Tag)
Vue.use(Col)
Vue.use(Row)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Icon)
Vue.use(Dialog)


// 编辑用户资料页面 
import {Popup,DatetimePicker,Uploader } from 'vant'
Vue.use(Popup)
Vue.use(DatetimePicker)
Vue.use(Uploader)

// 首页页面
import { Tab, Tabs ,List,PullRefresh,Grid, GridItem,Lazyload,Search} from 'vant'
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(List)
Vue.use(PullRefresh)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Lazyload)
Vue.use(Search)